#ifndef __HANDLER_CG_TRADE_H__
#define __HANDLER_CG_TRADE_H__

#pragma once

class ServerSession;
struct MSG_BASE;


#define Handler_CG_TRADE_DECL( p )			static VOID On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )
#define Handler_CG_TRADE_IMPL( p )			VOID Handler_CG_TRADE::On##p( ServerSession * pServerSession, MSG_BASE * pMsg, WORD wSize )


class Handler_CG_TRADE
{
public:
	Handler_CG_TRADE();
	~Handler_CG_TRADE();
	Handler_CG_TRADE_DECL( CG_TRADE_REQ_SYN );
	Handler_CG_TRADE_DECL( CG_TRADE_RES_SYN );
	Handler_CG_TRADE_DECL( CG_TRADE_PUT_SYN );
	Handler_CG_TRADE_DECL( CG_TRADE_PUT_MONEY_SYN );
	Handler_CG_TRADE_DECL( CG_TRADE_GET_SYN );
	Handler_CG_TRADE_DECL( CG_TRADE_GET_MONEY_SYN );
	Handler_CG_TRADE_DECL( CG_TRADE_PROPOSAL_SYN );
	Handler_CG_TRADE_DECL( CG_TRADE_MODIFY_SYN );
	Handler_CG_TRADE_DECL( CG_TRADE_ACCEPT_SYN );
	Handler_CG_TRADE_DECL( CG_TRADE_CANCEL_SYN );

};


#endif // __HANDLER_CG_TRADE_H__
